package com.tamtamy.jtta.data.xml;

import org.w3c.dom.Document;

import com.tamtamy.jtta.data.UserStatsGeneration;
import com.tamtamy.jtta.utility.XMLUtility;

public class XMLUserStatsGeneration extends UserStatsGeneration {

	public XMLUserStatsGeneration(Document xmlDocument) {
		super();
		this.id = Long.parseLong(XMLUtility.getString(xmlDocument, "id"));
		this.generated = XMLUtility.getDate(xmlDocument, "generated");     	
	}
	
}
